class ClassDemo2
{
	public static void main(String[] args) 
	{
		int x1=Integer.parseInt(args[0]);
    	int x2=Integer.parseInt(args[1]);
		int x3=Integer.parseInt(args[2]);
	
		int sum=MyArith.calculation(x1,x2);
		System.out.println("Sum = "+sum);

		double avg=MyArith.calculation(x1,x2,x3);
		System.out.println("Average = "+avg);
	}
}
